package net.sk.china.front.response;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 云片网返回 Response
 * +----------------------------------------------------------------------
 * // | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * // +----------------------------------------------------------------------
 * // | Copyright (c) 2018-2024 聊来 All rights reserved.
 * // +----------------------------------------------------------------------
 * // | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * // +----------------------------------------------------------------------
 * // | @Author: 聊来 <18970881148@qq.com>
 * // +----------------------------------------------------------------------
 * // | DateTime: 2024/6/4 15:44
 * // +----------------------------------------------------------------------
 */
@Data
public class SmsResponse implements Serializable {

    private final static long serialVersionUID = 1L;

    @ApiModelProperty(value = "返回编码 0 代表发送成功，其他 code 代表出错")
    private Integer code;

    @ApiModelProperty(value = "响应的信息")
    private String msg;

    @ApiModelProperty(value = "发送成功短信的计费条数(计费条数：70 个字一条，超出 70 个字时按每 67 字一条计费)")
    private Integer count;

    @ApiModelProperty(value = "扣费金额，单位：元")
    private double fee;

    @ApiModelProperty(value = "计费单位")
    private String unit;

    @ApiModelProperty(value = "发送的手机号")
    private String mobile;

    @ApiModelProperty(value = "短信ID")
    private long sid;
}